package com.up1234567.unistarcloud.demo.micro2.web;

import lombok.CustomLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@CustomLog(topic = "WebController")
@RestController
public class IndexController {

    @GetMapping("deepcall")
    public String deepcall(@RequestParam("name") String name) {
        log.info("deepcall {}", name);
        return "micro2 deepcall " + name;
    }

}
